package com.guanjia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guanjia.entity.CrowdFunding;
import com.guanjia.entity.vo.CrowdUserInfVo;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.ui.Model;

import java.util.List;


@Component
public interface CrowdFundingMapper extends BaseMapper<CrowdFunding> {

    List<CrowdFunding> handList();

    List<CrowdFunding> newList();

    CrowdFunding findCrowFuningById(int id);

    CrowdUserInfVo findCrowUserInf(int userId);

    List<CrowdFunding> findCrowdFundingListById(Integer id);
}
